package com.xbongbong.saas.model;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.paas.toolbox.wrap.IModel;
import com.xbongbong.pro.domain.entity.DecisionTreeEntity;

/**
 * 决策树
 *
 * @Author: hongxiao
 * @date: 2021-11-11 18:43
 */
public interface DecisionTreeModel extends IModel<DecisionTreeEntity> {

    Integer save(DecisionTreeEntity entity) throws XbbException;

    DecisionTreeEntity getByDataId(String corpid, Integer businessType, Long formId, Long dataId);
}
